package com.ssish.common.insurance.utils;

import java.util.ResourceBundle;
/**
 * 
 * @author xubao
 *
 */
public class ResourceUtil {
	
	public static String getPropertiesValue(String fileName, String key){
		try {
			ResourceBundle resource = ResourceBundle.getBundle(fileName);
			String value = resource.getString(key);
			return value;
		} catch (Exception e) {
			e.printStackTrace();
		}
		return "";
	}
}
